package com.create.singleton;

/**
 * 懒汉式(线程不安全，同步代码块) [不可用]
 * @author LIUZENGLONG
 *
 */
public class Singleton5 {
  
	private static Singleton5 instance;

	public static Singleton5 getInstance() {
	
		if (instance == null) {
			synchronized (Singleton5.class) {
				instance = new Singleton5();
			}
		}
		return instance;
	}
}